@layout("/common/_container.html"){
<div class="ibox float-e-margins">
    <div class="ibox-content">
        <div class="form-horizontal">

            <input type="hidden" id="id" value="${item.id}">
            <div class="row">
                <div class="col-sm-6 b-r">
                    <#selectUser id="masterEmpCode" name="师傅编号" onclick="MentoringRelationInfoDlg.selectEmp()" underline="true" value="${item.masterEmpCode}"/>
                    <#selectUser id="apprenticeEmpCode" name="徒弟编号" onclick="MentoringRelationInfoDlg.selectEmp()" underline="true" value="${item.apprenticeEmpCode}"/>
                    <#YearConInput id="year" name="年度" isTime="false" underline="true" value="${item.year}"/>

                    <#select id="protocalTerm" name="协议期限" underline="true" value="${item.protocalTerm}">
                        <option value="一年">一年</option>
                        <option value="两年">两年</option>
                        <option value="三年">三年</option>
                    </#select>
                </div>

                <div class="col-sm-6">

                    <#input id="masterEmpName" name="师傅姓名" underline="true" disabled="true value="${item.masterEmpName}"/>
                    <#input id="apprenticeEmpName" name="徒弟姓名" underline="true" disabled="true value="${item.apprenticeEmpName}"/>

                    <#select id="examineResult" name="考核结果" underline="true" value="${item.examineResult}">
                        <option value="合格">合格</option>
                        <option value="不合格">不合格</option>
                    </#select>
                    <#TimeConInput id="signDate" name="签订日期" isTime="false" pattern="yyyy-MM-dd" underline="true" value="${item.signDate}"/>
                </div>
            </div>

            <div class="row btn-group-m-t">
                <div class="col-sm-10 text-center">
                    <#button btnCss="info" name="提交" id="ensure" icon="fa-check" clickFun="MentoringRelationInfoDlg.editSubmit()"/>
                    <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="MentoringRelationInfoDlg.close()"/>
                </div>
            </div>
        </div>

    </div>
</div>
<script src="${ctxPath}/static/modular/train/mentoringRelation/mentoringRelation_info.js?v=${version}"></script>
@}
